package org.matchergen.examples.command;

import org.matchergen.GenerateMatcher;

@GenerateMatcher
public class AddCommand implements ICommand {
	private int a, b;
	private int sum;

	public AddCommand(int a, int b) {
		super();

		this.a = a;
		this.b = b;
	}

	public void execute() {
		sum = a + b;
	}

	public int getA() {
		return a;
	}

	public void setA(int a) {
		this.a = a;
	}

	public int getB() {
		return b;
	}

	public void setB(int b) {
		this.b = b;
	}

	public int getSum() {
		return sum;
	}

	public void setSum(int sum) {
		this.sum = sum;
	}
}
